﻿CREATE PROCEDURE [dbo].[sp_InsertSimulatedLOBEvent]
	@MeterNumber nvarchar,
	@MeterVendorID nvarchar,
	@MeterHeadEndID nvarchar,
	@TimeStamp datetime,
	@EventType nvarchar,
	@Reading float,
	@Temp float,
	@Code nvarchar,
	@Status nvarchar
AS
	INSERT INTO [AMIDataStore].[dbo].[SimulatedLOB]
			(
			[MeterNumber]
			,[MeterVendorID]
			,[MeterHeadEndID]
			,[TimeStamp]
			,[EventType]
			,[Reading]
			,[Temp]
			,[Code]
			,[Status]
			,[PickedUp]
			)
		VALUES
			(
			@MeterNumber,
			@MeterVendorID,
			@MeterHeadEndID,
			@TimeStamp,
			@EventType,
			@Reading,
			@Temp,
			@Code,
			@Status,
			'Y'
			)
RETURN 0